<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<?php
include("db.php");
$id=$_GET['id'];
$sqlNote="select * from etudiant_note where photoid='$id'";
$resultNote=mysql_query($sqlNote,$link);
?>

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Exam</title>
<link href="default.css" rel="stylesheet" type="text/css" />
</head>
<body>
<table align="center" border=1>
	<tr bgcolor="799ae1"><td align="center">Les notes d'un etudiant</td></tr>
	<tr><td>
	<?php
		while($ad_rows=mysql_fetch_object($resultNote))
	 	{
			echo '<tr><td>'.$ad_rows->note.'</td></tr>';		            	
		}
	    ?>
	</td></tr>
</table>

</body>
</html>